package com.smart.lab;

import android.app.Application;
import android.content.Context;

import com.smart.lab.utils.MyUrls;
import com.smart.lab.utils.net.ItheimaHttp;

/**
 * Created by liuyan on 2019/9/9.
 */

public class MyApplication extends Application {

    private static final String TAG = MyApplication.class.getSimpleName();

    public static Context context;

    public static final String APP_KEY = "30415746";

    @Override
    public void onCreate() {
        super.onCreate();
        context = this.getApplicationContext();
        ItheimaHttp.init(this, MyUrls.baseUrl);

    }

    public static Context getAppContext() {
        return context;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);

    }



}
